]> dgit.raspbian.org Git - gnome-shell.git/commit
StTextureCache: Plug leaks in tiled image loading
authorColin Walters <walters@verbum.org>
Sun, 5 Dec 2010 21:46:48 +0000 (16:46 -0500)
committerColin Walters <walters@verbum.org>
Sat, 18 Dec 2010 18:44:37 +0000 (13:44 -0500)
commitbdfc516715201ab934e2a166acf9a1265aafa4be
tree9e9f061d59844fab726f07217b9048abde211495
parent94da2531e73ce0490530a3d805fdffa8bf5d32e0
StTextureCache: Plug leaks in tiled image loading

We weren't freeing the whole pixbuf, nor were we the GList of
subpixbufs.  Plug both of these leaks in the error handling path
and in the default case.

All of the unreffing/cleanup should happen in the GDestroyNotify
for the result, not some in the handler.

https://bugzilla.gnome.org/show_bug.cgi?id=636489
src/st/st-texture-cache.c